<?php

use yii\helpers\Html;
use common\models\articles\Articles;
    $tongzhi = Articles::find()->where(['category_id'=>18])->asArray()->limit(10)->all();
    $hangye = Articles::find()->where(['category_id'=>28])->asArray()->limit(10)->all();
    $xinwen = Articles::find()->where(['category_id'=>14])->asArray()->limit(10)->all();

/* @var $this yii\web\View */
/* @var $model common\models\meeting\Meetingenroll */
$controllerID = Yii::$app->controller->id;
$actionID = Yii::$app->controller->action->id;

$this->title = Yii::t('app', '填写信息');
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', '填写信息'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
 <?= Html::cssFile('@web/css/enroll.css')?>
<div class="design_form">
    <div class="form_Pontent">
        <section class="buju">
            <header class="header">报名成功</header> 
            <!--报名人员信息-->
            <div class="div_box">
                <h1 class="h1_header">
                    <span class="sp_left">报名信息</span>
                </h1>
                <p class="p_txt">
                    <span class="sp_left">凭证号</span>
                    <span class="sp_right"><?php $arr = str_split($cusinfo[0]['code'], 3); $codem = implode('-',$arr); echo $codem;?></span>
                </p>
                <p class="p_txt">
                    <span class="sp_left" style="text-align:center;width:100%;">二维码</span>
                    <span class="sp_right" style="text-align:center;width:100%;"><img src="<?php echo Yii::$app->request->hostInfo.'/upload/erm/'.$cusinfo[0]['code'].'.png'; ?>" width="175" height="175"></span>
                </p>
                <?php foreach($list as $key=>$vo){?>
                <p class="p_txt">
                    <span class="sp_left" title="<?= $vo['name'] ?>"><?= $vo['name'] ?></span>
                    <span class="sp_right" title="<?= $vo['value'] ?>"><?= $vo['value'] ?></span>
                </p>
                <?php } ?>
            </div>
            <div>       
                <p id="tipMsg" class="p-prompt xuxian1"><?= $setinfo['ac_baoming']?></p>
            </div>
        </section>
        <div class="page_footer" style="position: relative;">
            <!-- <input type="submit" class="input-btn" value="返回首页" onclick="EnrollInfoFunc.ReturnDefault()"> -->
            <footer class="foot-white">Powered by www.zhongkefu.com</footer>
        </div>
    </div>
    </div> 